Skip to content

Conversation

@stevejgordon
Copy link
Collaborator

@stevejgordon stevejgordon commented Nov 20, 2024

This PR involves a comprehensive refactor to replace the RequestData class with a new class named BoundConfiguration across the codebase. The BoundConfiguration class encapsulates configuration details and implements the IRequestConfiguration interface, which avoids introducing new overloads of the Request \ RequestAsync methods. We type check in the transport, and when the provided IRequestConfiguration is a BoundConfiguration, we use that without rebinding.

Closes #138

This commit involves a comprehensive refactor to replace the `RequestData` class with a new class named `BoundConfiguration` across the codebase. The `BoundConfiguration` class encapsulates configuration details and implements the `IRequestConfiguration` interface.
@stevejgordon stevejgordon merged commit 86a1ab5 into main Nov 20, 2024
5 checks passed
@stevejgordon stevejgordon deleted the feature/bound-config branch November 20, 2024 15:00
@flobernd flobernd added the enhancement New feature or request label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request v0.5.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support advanced used case where a consumer wants to cache per-request bound configuration

4 participants